package com.rds.common.core.domain.entity;

import com.rds.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 文档表 rda_document
 *
 * @author
 */
public class FolderRel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long Id;

    /**  */
    private String folderId;

    /** 文件夹名称 */
    private Long docId;

    /** 版本 */
    private String ownerId;

    /**  */
    private Long projectId;


    /** 状态 */
    private Long status;

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public String getFolderId() {
        return folderId;
    }

    public void setFolderId(String folderId) {
        this.folderId = folderId;
    }

    public Long getDocId() {
        return docId;
    }

    public void setDocId(Long docId) {
        this.docId = docId;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    /** 修改时间 */
    private Date modifyTime;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("folderId", getFolderId())
            .append("docId", getDocId())
            .append("ownerId", getOwnerId())
            .append("projectId", getProjectId())
            .append("status", getStatus())
            .append("modifyTime", getModifyTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
